<template>
  <div class="patient-info" v-if="true">
    <div class="patient-info-inside">
      <div class="header">
        <div class="left item">
          <img alt="左侧" src="@/components/assets/images/design/1-12.webp" />
        </div>
        <div class="middle item">诊疗项目收费信息</div>
        <div class="right item">
          <img alt="右侧" src="@/components/assets/images/design/1-12.webp" />
        </div>
      </div>
      <div class="patient-info-area-box">
        <el-row
          class="patient-info-area"
          v-for="(item, index) in ItemList"
          :key="index"
        >
          <el-col :span="24">
            <div class="sign">名称：</div>
            <div class="content">{{ item?.itemName }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign ">价格：</div>
            <div class="content colorOrange">{{ item?.price }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign">计价单位：</div>
            <div class="content">{{ item?.priceUnit }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign ">类型：</div>
            <div class="content ">{{ item?.type }}</div>
          </el-col>
        </el-row>
      </div>
    </div>
  </div>
</template>

<script>
import { AndroidToWeb, buildParentApi } from "@/utils/designer/util";
let buildParent = buildParentApi();
export default {
  name: "ItemList",

  componentName: "ItemList",

  components: {},

  data() {
    return {
      countMoney: "",
    };
  },

  computed: {
    patientInfo() {
      return this.$store.getters["DRCbiz/getPatientInfo"];
    },
    ItemList(){
       // {"result":[
          //   {"itemCode":"5579",
          //   "itemName":"前臂尺神经探查吻合术",
          //   "specifications":"",
          //   "price":"162000",
          //   "priceUnit":"次",
          //   "producer":"",
          //   "type":"手术及麻醉费",
          //   "chargelevel":"甲",
          //   "insurancecode":"003315210360300"},
          //   {"itemCode":"6276",
          //   "itemName":"浅表腹壁肿瘤切除术",
          //   "specifications":"",
          //   "price":"36000",
          //   "priceUnit":"次",
          //   "producer":"",
          //   "type":"手术及麻醉费",
          //   "chargelevel":"甲",
          //   "insurancecode":"003310080170000"
          //   }]}
      return this.$store.getters["DRCbiz/getItemList"];
    },
    
  },

  mounted() {},

  methods: {
   
  },
};
</script>

<style scoped lang="scss">
@import "./assets/style";
</style>